f24abb0f6b3171a45fd42ab3214763efd33226e7,main-module/src/main/java/emustudio/gui/debugTable/CallFlow.java,CallFlow,updateCache,#number#,45
Before Change
}
void updateCache(int currentLocation) {
flowGraph.put(currentLocation, disassembler.getNextInstructionPosition(currentLocation));
}
private int traverseTo(int knownFrom, int to, Consumer<Integer> consumer) {
After Change
}
void updateCache(int currentLocation) {
int nextPosition = disassembler.getNextInstructionPosition(currentLocation);
if (nextPosition - currentLocation > longestInstructionSize) {
longestInstructionSize = nextPosition - currentLocation;
}
flowGraph.put(currentLocation, nextPosition);